FROM node:8-alpine

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
    && apk update \
    && npm install --global cnpm --registry=https://registry.npm.taobao.org/ \
    && cnpm install -g vue vue-cli webpack webpack-cli 